home *** CD-ROM | disk | FTP | other *** search
/ Almathera Ten Pack 2: CDPD 1 / Almathera Ten on Ten - Disc 2: CDPD 1.iso / pd / 276-300 / 294 / dnet / amiga / lib / fixsignal.c < prev    next >
C/C++ Source or Header  |  1995-03-14  |  327b  |  18 lines

  1.  
  2. /*
  3.  *  FixSignal.C
  4.  */
  5.  
  6. #include "lib.h"
  7.  
  8. void
  9. FixSignal(_chan)
  10. void *_chan;
  11. {
  12.     CHANN *chan = (CHANN *)_chan;
  13.     if (chan->port.mp_MsgList.lh_Head != (NODE *)&chan->port.mp_MsgList.lh_Tail ||
  14.     chan->rdylist.lh_Head != (NODE *)&chan->rdylist.lh_Tail)
  15.     SetSignal(1 << chan->port.mp_SigBit, 1 << chan->port.mp_SigBit);
  16. }
  17.  
  18.